package com.encon.projecttracker.server.data.pojo;

import java.sql.SQLException;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class Session {

	private String id = null;
	
	private Map<String,Object> variables = new ConcurrentHashMap<String, Object>();
	
	public Session(String id) {
		this.id = id;
	}
	
	public void destroy()
	{
	
		this.variables.clear();
		this.variables = null;
		
	}
	
	
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Map<String, Object> getVariables() {
		return variables;
	}

	public void setVariables(Map<String, Object> variables) {
		this.variables = variables;
	}


	
	
}
